<?php

class user_point_goodsModel extends Model {
    
    public function createCode($pointGoodsId) {
        return date('mdHis'). mt_rand(100000, 999999).$pointGoodsId;
    }
}